package com.moshang.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moshang.mall.product.entity.vo.Catalog2Vo;
import com.moshang.mall.utils.PageUtils;
import com.moshang.mall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author moshang
 * @email 597575122@qq.com
 * @date 2020-08-31 22:26:11
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    void removeCateByIds(List<Long> asList);

    List<CategoryEntity> getLeve1Cate();

    Map<String, List<Catalog2Vo>> getCatalogJson();
}

